﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Xml.Linq;


namespace Nwsfeed
{
    public class FeedImage
    {
        public Bitmap Bitmap { get; protected set; }
        public String Title { get; protected set; }
        // link to the image
        public String URL { get; protected set; }
        // link displayed when one clicks the image
        public String Link { get; protected set; }
        public XElement XElement { get; protected set; }

        public static FeedImage Create(XElement XElement)
        {
            FeedImage image = new FeedImage();
            // construct FeedImage

            
            return image;
        }
    }
}
